import { http } from "@/uni-sub-base/service/request.js"
let serviceName = "Moment/"
import { getBaseUrl } from "@/utils/appUrls.js"
//获取素材列表
export function GetMomentList(data) {
    return http.post({
        url: getBaseUrl() + serviceName + "GetMomentList",
        data,
    })
}
//获取素材库分类列表
export function GetMomentCategoryList() {
    return http.post({
        url: getBaseUrl() + serviceName + "GetMomentCategoryList",
    })
}
//新增素材
export function AddMoment(data) {
    return http.post({
        url: getBaseUrl() + serviceName + "AddMoment",
        data,
    })
}
//素材详情
export function GetMoment(data) {
    return http.post({
        url: getBaseUrl() + serviceName + "GetMoment",
        data,
    })
}
